package com.hsqn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 告警信息表
 * </p>
 *
 * @author lingwenjie
 * @since 2025-11-05
 */
@Getter
@Setter
@TableName("alarm_info")
public class AlarmInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 告警ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 老人ID
     */
    private Long elderlyId;

    /**
     * 告警类型(1-定位越界,2-长时间未活动,3-紧急呼叫,4-健康数据异常)
     */
    private Byte alarmType;

    /**
     * 告警内容
     */
    private String alarmContent;

    /**
     * 告警时间
     */
    private LocalDateTime alarmTime;

    /**
     * 处理状态(0-未处理,1-处理中,2-已处理)
     */
    private Byte handleStatus;

    /**
     * 处理人ID
     */
    private Long handleUserId;

    /**
     * 处理时间
     */
    private LocalDateTime handleTime;

    /**
     * 处理备注
     */
    private String handleRemark;
}
